package com.ld.security.auth.shiro.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface AesKey {


    /**
     * 返回值加密
     * @return
     */
    boolean encode() default true;

    /**
     * 参数解密
     * @return
     */
    boolean decode() default true;
}
